//构造函数，需要与方法名相同
TestWrappper = function(options, $dom) {
 
    this.options = options;
    this.$dom = $dom;
    this.chartID = options.chartID;
    this.autoRefreshTime = options.autoRefreshTime || 0;
    this.width = options.width || $dom.width();// 补充从dom获取.
    this.height = options.height || $dom.height();
    this.sheetIndex = options.sheetIndex || 0;
    this.ecName = options.ecName || '';
    
    FR.Chart.WebUtils._installChart(this, this.chartID);
};
TestWrappper.prototype = {
	    constructor : TestWrappper,
	    //渲染
	    inits : function() {
	    	var ct = this.options.chartAttr;
	    	var dom = this.$dom[0]
	    	console.info(dom.id);
	    	// 基于准备好的dom，初始化echarts实例
	        var diagram11 =  flowchart.parse('st=>start: Start|past:>http://www.google.com[blank]\n' +
                    'e=>end: End:>http://www.google.com\n' +
                    '' +
                    'st->e');// the other symbols too...
	        diagram11.drawSVG(this.$dom[0]);
	    },
	    
	    //this.newCharts 是怎么来的
	    resize : function() {
	     
	        this.newCharts.resize();
	    },
	 
	    refresh:function() {
	 
	    },
	 
	    refreshData:function(options){
	 
	    },
	 
	    //数据监控的刷新方式
	    setData:function(options, aimation){
	 
	    }
	};